//
//  LogManager.h
//  Pennyworth
//
//  Created by Chris Karr on 1/1/08.
//  Copyright 2008 Chris J. Karr. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#define LOGGING_PAUSED @"Logging Paused"
#define LOG_PREDICTIONS @"Log Predictions"
#define LOG_DATE @"Log Date"
#define ENABLE_LOGGING @"Enable Logging"

@interface LogManager : NSObject 
{
	NSTreeNode * root;
	IBOutlet NSPanel * screenPanel;
	
	IBOutlet NSObjectController * selectedLog;
	IBOutlet NSArrayController * observations;
	
	NSMutableDictionary * logDict;
	NSDateFormatter * formatter;
	
	NSNumber * paused;
	NSTimer * pauseTimer;
	
	NSTimer * logTimer;
}

@property(retain) NSTreeNode * root;
@property(retain) NSMutableDictionary * logDict;
@property(retain) NSNumber * paused;
@property(retain) NSTimer * pauseTimer;
@property(retain) NSTimer * logTimer;

- (IBAction) screenshot:(id) sender;
- (IBAction) deleteLog:(id) sender;
- (IBAction) pauseLogging:(id) sender;

@end
